// This file was created by Filewrap 1.1
// Little endian mode
// DO NOT EDIT

#include "../PVRTMemoryFileSystem.h"

// using 32 bit to guarantee alignment.
#ifndef A32BIT
 #define A32BIT static const unsigned int
#endif

// ******** Start: VertShader.vsh ********

// File data
static const char _VertShader_vsh[] = 
	"attribute highp   vec3  inVertex;\r\n"
	"attribute mediump vec3  inNormal;\r\n"
	"attribute mediump vec2  inTexCoord;\r\n"
	"\r\n"
	"uniform highp   mat4  MVPMatrix;\r\n"
	"uniform highp   mat4  ShadowProj;\r\n"
	"uniform mediump vec3  LightDirModel;\r\n"
	"uniform mediump vec3  EyePosModel;\r\n"
	"uniform mediump mat3  ModelWorld;\r\n"
	"\r\n"
	"varying mediump vec2   TexCoord;\r\n"
	"varying mediump vec3   ShadowCoord;\r\n"
	"varying mediump vec2   ReflectCoord;\r\n"
	"varying lowp    float  LightIntensity;\r\n"
	"\r\n"
	"void main()\r\n"
	"{\r\n"
	"\t// Transform position\r\n"
	"\tgl_Position = MVPMatrix * vec4(inVertex, 1.0);\r\n"
	"\t\t\r\n"
	"\t// Simple diffuse lighting\r\n"
	"\tLightIntensity = max(dot(inNormal, LightDirModel), 0.0);\r\n"
	"\t\r\n"
	"\t// Calculate eye direction in model space\r\n"
	"\tmediump vec3 eyeDir = normalize(inVertex - EyePosModel);\r\n"
	"\t\r\n"
	"\t// reflect eye direction over normal and transform to world space\r\n"
	"\tReflectCoord = vec2(ModelWorld * reflect(eyeDir, inNormal)) * 0.5 + 0.5;\r\n"
	"\t\r\n"
	"\tShadowCoord = (ShadowProj * vec4(inVertex, 1.0)).xyw;\r\n"
	"\tShadowCoord.xy += ShadowCoord.z;\r\n"
	"\tShadowCoord.z *= 2.0;\r\n"
	"\t\r\n"
	"\t// Pass through texcoords\r\n"
	"\tTexCoord = inTexCoord;\r\n"
	"}";

// Register VertShader.vsh in memory file system at application startup time
static CPVRTMemoryFileSystem RegisterFile_VertShader_vsh("VertShader.vsh", _VertShader_vsh, 1048);

// ******** End: VertShader.vsh ********

// This file was created by Filewrap 1.1
// Little endian mode
// DO NOT EDIT

#include "../PVRTMemoryFileSystem.h"

// using 32 bit to guarantee alignment.
#ifndef A32BIT
 #define A32BIT static const unsigned int
#endif

// ******** Start: VertShader.vsc ********

// File data
A32BIT _VertShader_vsc[] = {
0x10fab438,0x986c0cdd,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x7e060000,0x0,0x4000000,0x0,0x79000000,0x2020203,0x0,0x2020000,0x102,0x0,0xe4030000,0x55535020,0x20,0x3d8,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x122000a,0xffff,0x1000a,0x0,0x0,0x2c,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x240000,0x80000a,0x180002,0x0,0x190002,0x100000,0x1a0002,0x1,0x1b0002,0x100001,0x280002,0x2,0x290002,0x100002,0x140002,
0x3,0x150002,0x100003,0x160002,0x4,0x170002,0x100004,0x1c0002,0x5,0x1d0002,0x100005,0x200002,0x6,0x210002,0x100006,0x240002,0x7,0x250002,0x100007,0x60001,0x8,0x70001,0x9,0xa0001,0xa,0xb0001,0xb,0xe0001,0xc,0xf0001,0xd,0x2c0001,0xe,0x2d0001,0xf,0x2f0001,0x10,0x310001,0x11,0x330001,0x12,0x350001,0x13,0x370001,0x14,0x40001,0x15,0x50001,0x16,0x80001,0x17,0x90001,0x18,0xc0001,0x19,0xd0001,0x1a,0x100001,0x1b,0x110001,0x1c,0x120001,0x1d,0x130001,
0x1e,0x300001,0x1f,0x340001,0x20,0x380001,0x21,0x390001,0x22,0x3b0001,0x23,0x377,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0x1c0000,0x80010003,0x80018001,0x8001,0x0,0x40000,0x0,0x0,0x10001,0x1,0x10001,0x10001,0x10001,0x10001,0x10000,0x10001,0x1,0x10000,0x10001,0x1010001,0x0,0x5a55fd10,0x100d7100,0x9a5600c2,0x100e70e0,0x40000c2,0x1001a120,0x91328a1,0x606f060,0x4a1538ab,0x606f060,0x8b173882,0x606f060,0x1a273882,0x1001705f,0x2a1800a2,0x626f060,0x40838af,0x1402507f,0xc3830080,0x1006a061,0x1800080,0x120180e0,0xc3b00880,0x10065121,0x54810081,
0x1006f060,0x95030081,0x1006e060,0xda2b0080,0x10067100,0x3b00082,0x100250ff,0xc9a0081,0x606f060,0x4d9c38ab,0x606f060,0x8e9e3882,0x606f060,0x1a2c3882,0x1002707f,0x5a2d0082,0x1000701f,0x2cb00082,0x1001d0c0,0x40300c1,0x201a080,0xfa038a3,0x605f0a0,0x50a23898,0x606f000,0x91a43882,0x606f000,0x1a253882,0x1001701f,0x200a2,0x80000,0x80010003,0x80018000,0x8001,0x0,0x40000,0x0,0x10001,0x10001,0x1010000,0x100,0x388fa10,0x10025100,0x2d071080,0x606e001,0x6d8838ab,0x606e001,0xae093882,0x606e001,0x303882,0x1201d160,0x6bb01883,0x1002d04f,0x820700c1,0x2086a000,0x200a0,0x50000,0x80010003,0x80008001,0x8000,0x0,0x40000,0x10000,0x10001,
0x1010000,0xfa100000,0xf0002f5f,0x38ab0606,0xf0007061,0x38820606,0xf000b163,0x38820606,0xf0ef2c58,0xe01001,0x6,0x803f3c00,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3f0000,0x400000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xd000000,0x65566e69,0x78657472,0x4000000,0x304,0x1000001,0x40000,0x67000007,0x6f505f6c,0x69746973,0x6e6f,0x3050501,0x10000,0x100,0xf0004,0x50564d00,0x7274614d,0x7869,0x3031600,0x10000,0x4000100,0xffff10,0x4e6e6900,0x616d726f,0x6c,0x20404,0x100,0x4040001,0x700,0x6867694c,0x72694474,0x65646f4d,0x6c,0x20304,0x100,0x3140001,0x700,0x6867694c,0x746e4974,0x69736e65,0x7974,0x1050200,0x10000,0xc000100,0x10001,0x65794500,0x4d736f50,0x6c65646f,0x4000000,0x203,0x1000001,0x31800,0x4d000007,0x6c65646f,0x6c726f57,0x64,0x20312,
0x100,0xc1c0001,0x7707,0x6c666552,0x43746365,0x64726f6f,0x3000000,0x205,0x1000001,0x20400,0x53000003,0x6f646168,0x6f725077,0x6a,0x30316,0x100,0x102c0001,0xffff,0x64616853,0x6f43776f,0x64726f,0x5040000,0x1000002,0x10000,0x7000300,0x65540000,0x6f6f4378,0x6472,0x2050300,0x10000,0x8000100,0x30002,0x546e6900,0x6f437865,0x64726f,0x4030000,0x1000002,0x10000,0x3000408,0x0,
};

// Register VertShader.vsc in memory file system at application startup time
static CPVRTMemoryFileSystem RegisterFile_VertShader_vsc("VertShader.vsc", _VertShader_vsc, 1694);

// ******** End: VertShader.vsc ********

